package com.learn.core.domain.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.learn.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName GroupingUser
 * @date 2021.05.27 15:50
 */
@TableName("grouping_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="GroupingUser对象", description="VIEW")
public class GroupingUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("grouping_id")
    private Integer groupingId;

    @TableField("grouping_user_id")
    private Integer groupingUserId;

    @TableField("user_id")
    private Integer userId;

    @TableField("user_name")
    private String userName;

    @TableField("name")
    private String name;

    @TableField("organization_id")
    private Integer organizationId;

    @TableField(exist = false)
    private String organizationName;

    @TableField("email")
    private String email;

    public Integer getGroupingUserId() {
        return groupingUserId;
    }

    public void setGroupingUserId(Integer groupingUserId) {
        this.groupingUserId = groupingUserId;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public Integer getGroupingId() {
        return groupingId;
    }

    public void setGroupingId(Integer groupingId) {
        this.groupingId = groupingId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
